From 01c7451cce0ca126bd4db2f1d88c876ee6163a35 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 7 Nov 2005 00:50:57 +0000 Subject: [PATCH] Kill generated file. --- gpsbabel/readme.html | 1083 ------------------------------------------ 1 file changed, 1083 deletions(-) delete mode 100644 gpsbabel/readme.html diff --git a/gpsbabel/readme.html b/gpsbabel/readme.html deleted file mode 100644 index 6d32034e0..000000000 --- a/gpsbabel/readme.html +++ /dev/null @@ -1,1083 +0,0 @@ - - -GSPBabel Documentation

GSPBabel Documentation

Revision History
Revision 1.02005-10-26T10:33:03.0ZDave Pawson
Initial conversion from plain text file at gpsbabel.org/readme.html -
Revision 1.12005-10-27T07:39:32.0ZDaveP
Update to cvs, rev 1.143 -
Revision 1.22005-10-27T15:25:55.0ZDaveP
Update to Add toc for formats & brief format description -
Revision 1.32005-10-28T15:19:02.0ZDaveP
Amended structure.

GPSBabel is distributed in source format that will work on -about any operating system and as ready-to-run binaries for some -operating systems, notably Windows. See the "OS-Specific notes" at -gpsbabel.orgfor -instructions on those binary kits. -

For operating systems where no binary is provided, you will -have to build it. The code should be compilable on any system with -ISO C89 compilers. It's been tested on UnixWare, OpenServer, OS/X, -Linux, Solaris, and a variety of processors and compilers. -

Libexpat is required for source builds. If you get errors -about expat.h being missing, you must either edit the Makefile to tell -the compiler where it is or install it in a sensible place. Exapt can -be downloaded from http://expat.sourceforge.net and is part of Apache -so it's very portable. -

Invocation was meant to be flexible. Unfortunately, - that can sometimes lead to unwieldy command lines.

gpsbabel -? 

will always show you the supported file types. To use - this program, just tell it what you're reading, where to read - it from, what you're writing, and what to write it to. For - example:

gpsbabel -i geo -f /tmp/geocaching.loc -o gpx -F /tmp/geocaching.gpx

tells it to read the first file in geocaching.com - format and create a new file in GPX format.

This command will read from a Magellan unit attached - to the first serial port on a Linux system (device names will - vary on other OSes) and write them as a geocaching loc file. - The second command does the same for windows.

gpsbabel -i magellan -f /dev/ttyS0 -o geo -F mag.loc 	
gpsbabel -i magellan -f com1 -o geo -F mag.loc

Optionally, you may specify "-s" in any command line. This - causes the program to ignore any "short" names that may be - present in the source data format and synthesize one from the - long name. This is particularly useful if you're writing to - a target format that isn't the lowest common denominator but - the source data was written for the lowest common - denominator. I use this for writing data from geocaching.com - to my Magellan so my waypoints have "real" names instead of - the 'GC1234' ones that are optimized for NMEA-only receivers. - A geocacher with a Magellan receiver may thus find commands - like this useful.

 gpsbabel -s -i geo -f geocaching.loc -o magellan -F /dev/ttyS0  
 gpsbabel -s -i geo -f geocaching.loc -o magellan -F com1

This format supports the DeLorme ".an1" drawing file - format. It can currently be used to either read or write - drawing files. If you use this format to create drawing - files with routes or waypoints from another source, it will - currently create "Red Flag" symbols for waypoints, and thick - red lines for routes or tracks. It is possible to merge two - drawing layers by doing something like this: -

gpsbabel -i an1 -f one.an1 -f two.an1 -o an1 -F merged.an1
-

In this case, the merged data will contain all of the - properties of the original data. -

If your original data contains geocaching-specific - information such as difficulty and terrain, GPSBabel will - automatically include that information in the waypoint - descriptions in the generated drawing file. If you do not - want that, specify the "nogc" option on the command - line:

gpsbabel -i gpx -f 12345.gpx -o an1,nogc -F 12345.an1

The "deficon" option allows you to specify which symbol - to use for points that don't have a symbol already. It - defaults to "Red Flag" but it accepts any symbol name you can - put in a DeLorme export file. To find the name of a specific - symbol in Street Atlas, let the mouse pointer hover over it - for a few seconds and the name will be displayed.

The "color" option allows you to specify the color for line - data. It accepts color names of the form "#FF0000" (red) or - any of the 16 common color names from the Cascading Style - Sheets specification.i

The "zoom" option specifies at what zoom level Street - Atlas will begin showing reduced versions of your symbols. - The default is 10. Setting zoom to 0 will disable this - feature. Setting it to anything but the default will - override the zoom level specified on any waypoints that were - read from an existing an1 file; this is by design. -

GPSBabel has limited experimental support for other - types of layers besides the default "drawing" layer with the - use of two options: -

The "type" option specifies the type of the drawing - layer to be created. The supported values are "drawing", - "road", "trail", "waypoint", or "track". If you do not - specify a type, the default will be either the type of the - previous an1 file or "drawing" if there is no previous file. - This lets you merge, for example, two road layers without - having to specify "type=road" for the output.

If you are creating a road layer, you may also use the - "road" option, which allows you to change the types of roads - based on their names. You can change multiple roads at the - same time. Currently supported types are

- limited Limited-access freeways
- toll Limited-access toll highways
- ramp Access ramps for limited-access highways
- us National highways (e.g. US routes)
- primary Primary State/Provincial routes
- state State/Provincial routes
- major Major Connectors
- ferry Ferry Routes
- local Local Roads
- editable User-drawn Roads -

GPSBabel defaults to creating editable roads. These - are routed just like local roads, but may be edited with the - drawing tools in Street Atlas.

This option has a special format that is best - demonstrated by example:

"road=I-599!limited!Beecher St.!major" 

- This option will cause any road named "I-599" to become a limited- - access highway and any road named "Beecher St." to become a major - connector. Note that roads that have had their types changed in - this way are not editable in Street Atlas, so make sure they are - where you want them before you change them, and make sure to keep - a backup of your original road layer. Note that the ! is a shell - metacharacter in bash and possibly other shells, so you may have to - use single quotes or some other escape mechanism. -

Cetus GPS www.cetusgps.dk is a - program for Palm/OS. Working with Ron Parker and Kjeld - Jensen, we can now read and write files for that - program.

Waypoint serial upload and download works reliably - under both POSIX and Windows. I originally tested it with a - Vista, a V, and a base eTrex, all graciously provided on loan - by Joe Armstrong, but it's now regularly exercised on a 60CS - (USB and serial) and many other models. The communications - library used, jeeps, claims to support most models of Garmin - hardware. Be sure the GPS is set for "Garmin mode" in setup - and that nothing else (PDA hotsync programs, gpsd, getty, - pppd, etc.) is using the serial port. -

GPSBabel supports the USB Garmins under Windows and on - Linux and OS/X via libusb. It's reported successful with - VistaC, SummitC, 60C, 60CS, 76C, 76CS, 96C, and Quest. Some - users report success with StreetPilot 2610 and some do not, - but nobody's followed up with details on that. -

Currently, only a single USB unit at a time can be - supported. The device name to use on the command line is - "usb:" Thus, to read the waypoints from a Garmin USB unit and - write them to a GPX file: -

gpsbabel -i garmin -f usb: -o gpx -F blah.gpx

When reporting problems with Garmin, be sure to - include the full unit model, firmware version, and be - prepared to offer debugging dumps by adding "-D9" to the - command line, like: -

 gpsbabel -D9 -i garmin -f usb: -o gpx -F blah.gpx

Custom icons are supported on units that support that. - Neither GPSBabel nor your firmware know what is associated - with any given slot number. They don't know that the picture - you placed in the first slot is a happy face, they only know - they're in the lowest numbered slot. GPSBabel names the them - consistently with Mapsource, so they are named 'Custom 0' - through 'Custom 23'. -

The file format for GPSPILOT gpspilot.com was - provided by Ron Parker. The output from this module has been - tested with GPSPilot Tracker v5.05sx, but it is based on - reverse-engineering so it may not work with all versions of - all GPSPilot products. It had read-only support for Airport, - Navaid, City and Landmark files but will read and write Point - files.

The Holuxgm-100 (e-fox) gps receiver uses standard - compact flash cards. File formats were provided by - Holux-Taiwan holux.com to the - author. The code was tested against version 2.27E1; other - versions and receivers may work but have not been explictly - tested. Anyone with information on other Holux receivers is - encouraged to contact jochen@bauerbahn.net. -

When copying the .wpo file to a flash card, the file - must be named tempwprt.wpo as the receiver will - ignore all other files. -

Comparing the waypoints of a .wpo files against other - formats like .gpx you may notice a small difference in the - latitude and longitude values. The reason is the low - resolution of the coordinates in the wpo file format. In a - .wpo file the reolution is 1/10"; in gpx for example it is - 1/100". A a practical matter, this loss is only about 1.7 - meters (5 feet). -

The generated waypoint failes can also be used by - MapShow version 1.14. This program is free of charge from - the Holux web site. -

This format was contributed by Jochen Becker. -

QuoVadis for Palm OS marcosoft.com is a - program for Palm/OS. Working with record definitions provided - by MarcoSoft and further experimentation by Bruce Thompson - and "Fuzzy" from the Geocaching Forums to nail down the - format precisely.

Should work fine for import and export.

One thing of note, QuoVadis stores all waypoints in a - single Palm Database without using categories. This means - that it may be difficult to keep personal waypoints separate - from generated waypoints. What Bruce recommends is taking the - QuoVadisMarkerDB.PDB file synced down from your Palm Powered - device and extract the waypoints you personally set to a GPX - file. Then using GPSBabel's joining capabilities generate a - new PDB file from the personal file and the other waypoint - files of interest.

Currently the selection of icons to display and the - scale at which to display them is hardcoded. Also there is no - support for notes associated with waypoints. This will be - addressed in a future revision.

This is a catch-all used by many Delorme mapping - products and reads the anr, rte, and rtd formats as either - tracks or routes.

The 'turns_only' option causes GPSBabel to read only - the waypoints associated with named turns. This should - create a list of waypoints that correspond to the itinerary - from Street Atlas.

The 'turns_important' option only makes sense in - conjunction with the 'simplify' filter. It ensures that the - route simplification process will remove the points - corresponding to turns only after it has removed all other - route points. -

The 'split' option causes GPSBabel to create separate - routes for each street, creating a new route at each turn - point. For obvious reasons, 'split' cannot be used at the - same time as the 'turns_only' or 'turns_important' - options.

The 'controls' option lets you read the control points - (start, end, vias, and stops) for your route as well as the - route itself. The default for this option is 'none', which - won't read the control points. You may also specify - 'waypoints', which reads the control points as waypoints, or - 'route', which creates an extra route named 'control points' - containing just the control points in order. Note that if - your goal is to create an arc or other CSV file, you should - use 'none' (or not use this option, which is the same - thing.)

All options only apply to route files from newer (anr) - versions of DeLorme software; older versions didn't store the - turn information with the route. -

The U.S. Census Bureau provides online mapping - facilities. This format is described at: tiger.census.gov. - Do notice that this format is not the actual Tiger line - mapping records, but rather the interface to their online - mapping program.

TopoMapPro Places File. Reads and writes places files - for use in TopoMapPro topomappro.com). As - this file type can store links other than web links, anything - that is not a http url will be discarded. Note that this - does not do datum conversions, so if your input file does not - have WGS84/NZGD2000 data, your output file won't either. - Colour of waypoint icons defaults to red.

GPSBabel supports data filtering. Data filters are - invoked from the command line via the '-x' option. It should be - noted that data filters are invoked in the internal pipeline at - the point that corresponds to their position on the - command. This implies that specifying a filter before reading - any data ('-x <filter> -f <file>'), despite being - legal, will not have any effect. The advantage is that filters - can be used intermittently between several variations of input - and output functions. It should also be noted that filtering - data from different input types can sometimes produce - undesirable results due to differences in the native data - formats. -

Beware that most filters only apply to a certain kind of - data. This is usually indicated below by referring to points, - tracks or routes in the first sentence which describes each - filter or in the table at gpsbabel.org - . -

The arc filter is designed to include points based on - their proximity to an arc, which is a series of connected - line segments similar to a route or a track but without any - associated data other than the coordinates. -

The arc is defined in a file whose name must be - provided with the file=XXXX option to the filter. - That file contains pairs of coordinates for the vertices of - the arc, one coordinate pair per line. Comments may be - included by preceding them with a '#' character. An arc file - looks something like this sample: -

	  
-# Lima Road/SR3 north of Fort Wayne, Indiana 	  
-41.150064468    -85.166207433 	  
-41.150064468    -85.165371895 	  
-41.149034500    -85.165157318 	  
-41.147832870    -85.164771080 	  
-41.146631241    -85.164384842 	  
-41.144270897    -85.163655281 	  
-41.141953468    -85.162882805

An arc file may optionally contain gaps in the arc. You can - specify such a gap by inserting a line containing "#break" - either on a line by itself or after the coordinates of the - starting point of the new arc segment. -

In addition to the file containing the arc, you should - also specify the maximum distance from the arc that will be - accepted; that distance is declared on the command line with - the distance=X.XX - option to the filter. Distance options may be expressed in - miles (distance=3M) or - kilometers (distance=3K). The default is - zero miles. You may also specify the exclude option, which - causes GPSBabel to only include points that are further than - the specified distance from the arc. -

For example, assuming the arc above is in a file called lima_rd.txt:

	gpsbabel -i geo -f 1.loc 
-   -x arc,file=lima_rd.txt,distance=1  	\
-   -o mapsend 
-    -F 2.wpt

would include only points within one mile of the - section of Lima Road covered by the arc.

This filter is designed to solve advanced problems - that involve shuffling multiple lists of waypoints. It has - three distinct sets of suboptions:

PUSH

Pushes the current list of waypoints onto the stack. - If the 'copy' suboption is specified, a copy of the current - list is pushed onto the stack; otherwise, the current list is - cleared.

--x stack,push
--x stack,push,copy
-

POP

'Pops' the top list of waypoints off of the stack. - What is done with that list depends on the suboption - specified. If the 'append' suboption is specified, the top - list of waypoints from the stack is added to the end of the - current list of waypoints. If the 'discard' option is - specified, the top list of waypoints is removed from the - stack and discarded, leaving the current list of waypoints - unchanged. If the 'replace' option is specified, or if no - option is specified, the top list of waypoints from the stack - replaces the current list of waypoints; the previous contents - of the current list are discarded.

-                  
--x stack,pop 
--x stack,pop,discard
--x stack,pop,append
-

SWAP

Swaps the current list of waypoints with a list from - the stack. If no further options are specified, the current - list is swapped with the top list on the stack. If the - 'depth' option is specified, it indicates which item on the - stack should be swapped.

--x stack,swap        
--x stack,swap,depth=2 
-

The stack can be used in conjunction with other - filters to implement a "union" or "logical or" functionality. - The basic idea is to use the stack to store copies of the - original list of waypoints, then use the 'swap' function to - replace each copy with a filtered list. Finally, append all - of the filtered lists to create one big list, which is then - output. The following example finds a list of all points - that are either inside county A or inside county B. Any - points that are inside both counties are duplicated (but the - duplicates can be removed with the DUPLICATE filter; see - above.) -

           
-gpsbabel -i gpx -f in.gpx \
-         -x stack,push,copy \
-         -x polygon,file=county_a.txt \    
-         -x stack,swap \
-         -x polygon,file=county_b.txt \
-         -x stack,pop,append \
-         -o gpx -F out.gpx
-

This example reads a large list of waypoints and - extracts the points within 20 miles of each of two cities, - writing the waypoint descriptions into two different PalmDoc - files and exporting all of the points to the GPS receiver: -

           
-gpsbabel -i gpx -f indiana.gpx \
-         -x stack,push,copy \
-         -x radius,lat=41.0765,lon=-85.1365,distance=20m \
-         -o palmdoc,dbname=Fort\ Wayne -F fortwayne.pdb \
-         -x stack,swap \
-         -x radius,lat=39.7733,lon=-86.1433,distance=20m \
-         -o palmdoc,dbname=Indianapolis -F indianapolis.pdb \
-         -x stack,pop,append \
-         -o magellan -F fwaind.wpt
- 
-

( !!! This filter always drops empty tracks !!! ) -

The track filter is a tool for manipulating track lists. The -following options are available:

TITLE

Gives the new track(s) a basic title. Basic means if - more than one track is created by filter the title will be - expanded with the date the new track. Special formats (see - UNIX date or strftime for details) are possible. -

-gpsbabel -t \ -i gpx -f in.gpx \ -x track,pack,split,title="ACTIVE
-LOG-%D" \ -o gpx -F out.gpx PACK
-	

MOVE

Change the time of all trackpoints. This is useful if - your track has moved by one or more hours through a time zone - problem. The following example will shift your track to be - one hour later.

	    
-gpsbabel -t  -i gpx -f in.gpx  \
-    -x track,move=+1h,pack,title="ACTIVE LOG"  \
-    -o gpx -F out.gpx 	

START / STOP

Filter tracks against time borders. All points outside - this range will be dropped. The date-time paramters have to - be in form of YYYYMMDDHHMMSS; but you may specify only the - most significant portion represented in the the leftmost - fields. See the example, where the time is specified only - through the hour. If you only want to get a track mapped on - 20 july 2005 from 10 am to 6pm, you should use this:

-gpsbabel -t -i gpx -f in.gpx -x \
-      track,start=2005072010,stop=2005072018 \
-      -o gpx -F out.gpx 

PACK

With this default option all tracks from input will be - packed into one track. If tracks overlaps in time, the filter - stops working. To pack all the tracks together into one - track and give it a name, use this:

	    
-gpsbabel -t  -i gpx -f in.gpx  	-x track,pack,title="ACTIVE LOG"  \
-		     -o gpx -F out.gpx 	

SPLIT

The input track will be split into several tracks - depending on date of track points. If there is more than one - track, use the pack option before before using this. To - split a single tracks into separate tracks for each day and - name them, use this: -

-gpsbabel -t -i gpx -f in.gpx -x \
-   track,split,title="ACTIVE LOG \
-    # %Y%m%d" -o gpx -F out.gpx

If the input has multiple tracks, pack them together before -splitting them back apart per day thusly:

     	    
-gpsbabel -t   -i gpx -f in.gpx  \
-     -x track,pack,split,title="ACTIVE LOG # %D"  	\
-     -o gpx -F out.gpx

Additionally you can add an interval to the split - option. With this the track will be split if the time - between two points is greater than this parameter. The - interval must be numeric and can be int days, hours, minutes - or seconds, expressed as one of the character "d", "h", "m", - or "s". If no trailing character is present, the units are - assumed to be in seconds. -

For example, to split a track based on an four hour - interval, use this:

            
-gpsbabel -t \ 
-     -i gpx -f in.gpx \ 
-     -x track,pack,split=4h,title="LOG # %c" \ 
-     -o gpx -F out.gpx
-

MERGE

Merge puts all track points into one single track and - sort them by time. Points with identical time stamp will be - dropped !!!

If you want to merge tracks from different devices but - from same trip, use this:

-gpsbabel -t \
-     -i gpx -f john.gpx \
-     -i gpx -f doe.gpx \
-     -x track,merge,title="COMBINED LOG" \
-     -o gpx -F john_doe.gpx
-
\ No newline at end of file -- 2.30.2